aboutsummaryrefslogtreecommitdiff
path: root/pages/api/auth/[...nextauth].js
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/auth/[...nextauth].js')
-rw-r--r--pages/api/auth/[...nextauth].js6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js
index b6eae53..713b5f7 100644
--- a/pages/api/auth/[...nextauth].js
+++ b/pages/api/auth/[...nextauth].js
@@ -1,12 +1,12 @@
import NextAuth from "next-auth";
import { GET_CURRENT_USER } from "../../../queries";
import { client } from "../../../lib/apolloClient";
-import clientPromise from "../../../lib/mongodb";
-import { MongoDBAdapter } from "@next-auth/mongodb-adapter";
+// import clientPromise from "../../../lib/mongodb";
+// import { MongoDBAdapter } from "@next-auth/mongodb-adapter";
export const authOptions = {
// Configure one or more authentication providers
- adapter: MongoDBAdapter(clientPromise),
+ // adapter: MongoDBAdapter(clientPromise),
secret: process.env.NEXTAUTH_SECRET,
providers: [
{